<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <div>
            <table  border="1" style="width: 500px;">
                <tr>
                    <td>名字</td>
                    <td>数量</td>
                    <td>价格</td>
                </tr>
                <tr v-for = "pround in prounds">
                    <td>{{pround.name}}</td>
                    <td><input type="text" v-model="pround.num" name="" id=""></td>
                    <td>{{pround.price}}</td>
                </tr>
            </table>
            <p>总价：{{total}}</p>
        </div>
    </div>
    <style>
        input{
            width: 390px;
        }
    </style>
    <script src="../js/vue.js"></script>
    <!-- <script src="../js/axios.js"></script> -->
    <script src="./js/lisen1.js"></script>
</body>
</html>